release: v0.2.5: Cleaner environments and more reliable workflows#2180
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
NAPI bakes the package.json version into binding/index.cjs version checks. The prepare_release workflow bumps package.json but does not regenerate this file, so the CI build's regeneration step produces a diff that the post-build no-unexpected-changes guard rejects.
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.32 MiB | 10.32 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.42 MiB | 4.42 MiB | +3.31 KiB (+0.07%) |
| NAPI (Linux x64) | Binary | 33.46 MiB | 33.46 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.80 MiB | 12.80 MiB | +1.03 KiB (+0.01%) |
vp (macOS ARM64) |
Binary | 7.65 MiB | 7.65 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.83 MiB | 3.83 MiB | -1.69 KiB (-0.04%) |
| NAPI (macOS ARM64) | Binary | 40.73 MiB | 40.73 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 17.03 MiB | 17.03 MiB | +84 B (+0.00%) |
vp (Windows x64) |
Binary | 8.37 MiB | 8.37 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.64 MiB | 3.64 MiB | +21 B (+0.00%) |
| NAPI (Windows x64) | Binary | 27.78 MiB | 27.78 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 10.74 MiB | 10.74 MiB | +1.22 KiB (+0.01%) |
| Trampoline (Windows x64) | Binary | 203.00 KiB | 203.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 97.91 KiB | 97.91 KiB | -2 B (-0.00%) |
| Installer (Windows x64) | Binary | 4.46 MiB | 4.46 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.08 MiB | 2.08 MiB | -1 B (-0.00%) |
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.bb0445bf5599a389c324442a3f3f8a8a5db5d83d |
@voidzero-dev/vite-plus-core |
0.0.0-commit.bb0445bf5599a389c324442a3f3f8a8a5db5d83d |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2180 bash# Windows (PowerShell)
$env:VP_PR_VERSION="2180"; irm https://vite.plus/ps1 | iexAfter installing, upgrade the current project's vite-plus to this test build with:
vp migrateOr point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:
| Package manager | Registry config |
|---|---|
| npm / pnpm / Bun | .npmrc: registry=https://registry-bridge.viteplus.dev/ |
| Yarn (v2+) | .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/" |
Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):
{
"devDependencies": {
"vite-plus": "0.0.0-commit.bb0445bf5599a389c324442a3f3f8a8a5db5d83d",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.bb0445bf5599a389c324442a3f3f8a8a5db5d83d"
}
}
🐳 Docker preview imageBuilt from this PR's registry bridge build:
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2180 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2180Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2180 vp --versionSee docs/guide/docker.md for usage. |
|
When will the npm package v0.2.5 be released? |
:viteplus: **vite-plus v0.2.5 is out** :tada:
TypeScript 7 declaration fixes and cleaner CLI workflows.
**Highlights**
:sparkles: Fix TypeScript 7 declaration generation failures in library projects
:hammer_and_wrench: Remove unused managed runtimes and package-manager caches with `vp env clean`
:hammer_and_wrench: Run native package version commands through `vp pm version`
:zap: Track task inputs across Bun and constrained platforms with fewer failures
:sparkles: Keep CLI diagnostics intact when inherited output streams are nonblocking
**Also in this release**
- Smaller standalone binaries, including a 19% reduction on Windows
- A non-root Docker image with `sudo` access for browser and system dependencies
- Safer generated `.env` defaults and dependable package-manager runtime routing
**Bundled versions**
vite `8.1.4`, rolldown `1.1.5`, tsdown `0.22.7`, vitest `4.1.10`, oxlint `1.73.0`, oxlint-tsgolint `0.24.0`, oxfmt `0.58.0`
**Upgrade**: `vp upgrade`
Full notes: <https://github.com/voidzero-dev/vite-plus/releases/tag/v0.2.5>
Thanks to new contributors [@yukinoshi](https://github.com/yukinoshi), [@BlankParticle](https://github.com/BlankParticle) :wave: |
@labbomb Just now! |
Release vite-plus v0.2.5: Cleaner environments and more reliable workflows.
This release adds cleanup and package version commands, supports TypeScript 7 declaration generation, reduces the standalone binary size, and hardens task tracking, CLI output, package-manager routing, Docker workflows, and project scaffolding.
Highlights
vp env cleanto remove unused managed Node.js runtimes and package-manager caches (#2003), by @liangmiQwQvp pm version, forwarding native version commands to npm, pnpm, Yarn, and Bun (#2127), by @jong-kyung0.22.7(#2104, #2168), by @wan9chi/dev/shm, and Windows process images, reduce Windows backing-file allocation, and clarify task wait failures (vite-task#515, vite-task#518, vite-task#523, vite-task#524, vite-task#542, #2126, #2167), by @wan9chiFixes & Enhancements
vpbinary sizes by about 5% on Linux and macOS and 19% on Windows (#2043), by @fengmk2sudofor Playwright browser dependencies and system packages (#2088), by @fengmk2.envand.env.*in generated projects while keeping.env.exampletrackable (#2095), by @forehalovp-use.cmdafter the Windows environment bin directory is ready and document its Command Prompt-only usage (#2128), by @liangmiQwQvp dedupefall back toyarn installwith a warning on Yarn Classic (#2139), by @jong-kyungDocs
CONTRIBUTING.mdas Bash code blocks (#2159), by @BlankParticleChore
Bundled Versions
8.1.4a4774541.1.5f09947a0.22.74.1.101.73.00.24.00.58.0Upgrade
New Contributors
Welcome @yukinoshi and @BlankParticle.
Full Changelog: v0.2.4...v0.2.5
Merging this PR will trigger the release workflow.